sudo su
source /comfy/mnt/venv/bin/activate

cd /comfy/mnt/ComfyUI
pip install sageattention

# 修改manage配置的网络模式为private

# 容器内
chown -R 1000:1000 /comfy/mnt
chown -R 1000:1000 /basedir

# nunchaku
# qwen image 640*360 1280*720 900*540

# comfyui#主目录下
pip install https://ghfast.top/https://github.com/nunchaku-tech/nunchaku/releases/download/v1.0.2/nunchaku-1.0.2+torch2.9-cp312-cp312-linux_x86_64.whl

git clone https://ghfast.top/https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
git clone https://ghfast.top/https://github.com/city96/ComfyUI-GGUF.git
# qwen image edit
git clone https://ghfast.top/https://github.com/kijai/ComfyUI-KJNodes.git

git clone https://ghfast.top/https://github.com/pythongosssss/ComfyUI-Custom-Scripts.git
git clone https://ghfast.top/https://github.com/yolain/ComfyUI-Easy-Use

# wan 2.2 lightx
git clone https://ghfast.top/https://github.com/chflame163/ComfyUI_LayerStyle.git
git clone https://ghfast.top/https://github.com/rgthree/rgthree-comfy.git
git clone https://ghfast.top/https://github.com/Fannovel16/ComfyUI-Frame-Interpolation.git
git clone https://ghfast.top/https://github.com/orssorbit/ComfyUI-wanBlockswap.git
git clone https://ghfast.top/https://github.com/M1kep/ComfyLiterals.git
git clone https://ghfast.top/https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite.git

# mmaudio
git clone https://ghfast.top/https://github.com/kijai/ComfyUI-MMAudio.git

# foley
git clone https://ghfast.top/https://github.com/phazei/ComfyUI-HunyuanVideo-Foley.git

# wan s2v
git clone https://ghfast.top/https://github.com/kijai/ComfyUI-MelBandRoFormer
git clone https://ghfast.top/https://github.com/kijai/ComfyUI-GIMM-VFI
git clone https://ghfast.top/https://github.com/kijai/ComfyUI-WanVideoWrapper

# index-tts2
git clone https://gitee.com/zhsmain/ComfyUI_IndexTTS.git

# wan2.2 首尾帧
git clone https://ghfast.top/https://github.com/stduhpf/ComfyUI-WanMoeKSampler.git WanMoeKSampler

# 修改transformers==4.57.1